package com.tsd.jxc.stock.service;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.stock.entity.JxcStockInOutList;
import com.tsd.jxc.stock.entity.JxcStockInOutListExt;
import com.tsd.system.entity.SysUser;

import java.util.List;
import java.util.Map;

/**
 * 描述：JxcStockInOutList服务实现层接口
 *
 * @author Hillpool
 * @date 2022/10/21 15:38:03
 */
public interface JxcStockInOutListService {

    /**
     * 描述：根据id获取JxcStockInOutList
     *
     * @param id
     */
    JxcStockInOutList getJxcStockInOutListById(Long id) throws Exception;

    /**
     * 描述：根据sid获取JxcStockInOutList
     *
     * @param sid
     */
    JxcStockInOutListExt queryBySid(String sid) throws Exception;

    /**
     * 描述：根据sid列表删除JxcStockInOutList
     *
     * @param list
     */
    void deleteJxcStockInOutLists(List<String> list, SysUser opUser) throws Exception;

    /**
     * 描述：保存或更新JxcStockInOutList
     *
     * @param record
     * @param opUser
     */
    void saveJxcStockInOutList(JxcStockInOutList record, SysUser opUser) throws Exception;

    /**
     * 描述：根据params分页查询JxcStockInOutList
     *
     * @param params
     * @param page
     */
    List<JxcStockInOutListExt> findJxcStockInOutLists(Map<String, Object> params, PageBean page) throws Exception;

    /**
     * 描述：根据params分页查询JxcStockInOutList
     *
     * @param params
     */
    List<JxcStockInOutListExt> findJxcStockInOutLists(Map<String, Object> params) throws Exception;
}